* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url(../images/bg.jpg);
    background-size: cover;
}

li {
    list-style-type: none;
}

i {
    font-style: normal;
}

header {
    position: relative;
    height: 2rem;
    background: url(../images/head_bg.png);
    background-size: 100% 100%;
    opacity: 0.6;
    display: flex;
    justify-content: space-between;
    color: #fff;

    h1 {

        line-height: 2rem;
        font-size: 0.8rem;
    }

    i {
        display: inline-block;
        position: absolute;
        bottom: -1rem;
        left: 33%;
        content: '';
        height: 2rem;
        width: 33%;
        background: url('../images/line1.png');
        background-size: 100% 100%;
    }
}

.mainbox {
    color: #fff;
    display: flex;
    padding: 0 0.5rem;
    margin-top: 0.5rem;

    .column {
        flex: 1;
    }

    .column:nth-child(1) {
        .bigEcharts {
            width: 15rem;
            height: 5rem;
            color: #fff;

            .line {
                width: 100%;
                height: 100%;
            }
        }

        .AttendanceTrendNum {
            display: flex;
            justify-content: space-between;
            padding: 0 1rem;
            // margin-top: 0.5rem;

            >li {
                position: relative;
                display: flex;
                flex-direction: column;

                >span:nth-child(1) {
                    font-size: 0.2rem;

                }

                >span:nth-child(2) {
                    span {
                        color: #259BFF;
                        font-size: 0.4rem;
                    }

                    i {
                        font-size: 0.2rem;
                    }
                }

                &::after {
                    position: absolute;
                    top: 0;
                    right: -0.8rem;
                    content: '';
                    width: 0.22rem;
                    height: 0.6rem;
                    background: url('../images/line2.png');
                    background-size: 100% 100%;
                }
            }

            // 最后一个元素让透明化
            >li:last-child {
                &::after {
                    opacity: 0;
                }
            }

        }

        .ServicePersonTime {
            position: relative;
            margin: 0.7rem 0.5rem;
            border: 1px solid #2dc3fa;

            >ul {
                display: flex;
                justify-content: center;

                >li {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    flex: 1;
                    padding: 0 1rem;

                    img {
                        width: 0.95rem;
                        height: 0.9rem;
                    }

                    p {
                        font-size: 0.2rem;

                        span {
                            color: #259BFF;
                            margin-left: 0.2rem;
                        }
                    }
                }

                >li:last-child {
                    span {
                        color: #FDD55D;
                    }
                }
            }

            &::after {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                content: '';
                width: 0.21rem;
                height: 0.54rem;
                background: url('../images/line2.png');
                background-size: 100%, 100%;
            }
        }

        .timeTitle {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .OpeningTime {
                display: flex;
                align-items: center;
                font-size: 0.23rem;
                line-height: 0.23rem;

                i {
                    width: .1708rem;
                    height: .1917rem;
                    background: url('../images/time_mark.png');
                    background-size: 100% 100%;
                    margin-right: 0.14rem;
                }
            }
        }

        // 借阅排行
        .panel:nth-child(2) {
            height: 7.5417rem;
            display: flex;

            .rankingSpecific {
                display: flex;
                align-items: center;
                margin-top: 0.5rem;

                >div {
                    position: relative;

                    .line {
                        position: absolute;
                        left: 0.25rem;
                        top: -0.04rem;
                        display: inline-block;
                        width: 0.08rem;
                        height: 1.6rem;
                        background-color: #EEA137;
                    }
                }

                img {
                    width: 1.4rem;
                    height: 1.4rem;
                }

                ul {
                    width: 3.5rem;
                    border-top: 1px solid #EEA137;
                    border-right: 1px solid #EEA137;
                    border-bottom: 1px solid #EEA137;
                    font-size: 0.25rem;
                    color: #fff;
                    padding: 0 0.12rem;
                    margin-left: 0.3rem;

                    li {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        height: 0.5rem;

                    }

                    li:nth-child(1) {
                        border-bottom: 1px solid #EEA137;
                    }

                    li:nth-child(2) {
                        border-bottom: 1px dashed #EEA137;

                        span:nth-child(2) {
                            color: #EEA137;
                        }
                    }

                    li:nth-child(3) {
                        span:nth-child(2) {
                            color: #EEA137;
                        }
                    }
                }
            }

            .rankingSpecifics:nth-child(2) {
                >div {
                    position: relative;

                    .line {
                        position: absolute;
                        left: 0.25rem;
                        top: -0.04rem;
                        display: inline-block;
                        width: 0.08rem;
                        height: 1.6rem;
                        background-color: #F24232;
                    }
                }

                ul {
                    border-top: 1px solid #F24232;
                    border-right: 1px solid #F24232;
                    border-bottom: 1px solid #F24232;

                    li:nth-child(1) {
                        border-bottom: 1px solid #F24232;
                    }

                    li:nth-child(2) {
                        border-bottom: 1px dashed #F24232;

                        span:nth-child(2) {
                            color: #F24232;
                        }
                    }

                    li:nth-child(3) {
                        span:nth-child(2) {
                            color: #F24232;
                        }
                    }
                }

            }

            .rankingSpecificss {
                >.box {
                    position: relative;

                    .line {
                        position: absolute;
                        left: 0.25rem;
                        top: -0.04rem;
                        display: inline-block;
                        width: 0.08rem;
                        height: 1.6rem;
                        background-color: #259BFF;
                    }

                    ul {
                        border-top: 1px solid #259BFF;
                        border-right: 1px solid #259BFF;
                        border-bottom: 1px solid #259BFF;

                        li:nth-child(1) {
                            border-bottom: 1px solid #259BFF;
                        }

                        li:nth-child(2) {
                            border-bottom: 1px dashed #259BFF;

                            span:nth-child(2) {
                                color: #259BFF;
                            }
                        }

                        li:nth-child(3) {
                            span:nth-child(2) {
                                color: #259BFF;
                            }
                        }
                    }
                }

            }

        }
    }

    .column:nth-child(2) .BorrowingTrend {
        .BorrowingTrendul {
            li {
                margin-top: 0.8rem;
            }
        }

        display: flex;
        justify-content: space-between;

        ul {
            li {
                display: flex;
                margin-top: 0.155rem;

                img {
                    width: 1.5rem;
                    height: 1.2rem;
                }

                .ReadToday {
                    width: 5rem;
                    height: 1.2rem;
                    background-image: url('../images/trend_1_bg.png'), url('../images/trend_1_bg1.png');
                    background-repeat: no-repeat, no-repeat;
                    background-size: 100% 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0 0.1rem;

                    span:nth-child(1) {
                        font-size: 0.24rem;
                        line-height: 1.2rem;
                    }

                    span:nth-child(2) {
                        i {
                            font-size: 0.5rem;
                        }

                        span {
                            font-size: 0.25rem;
                        }
                    }
                }


            }

            li:nth-child(2) {
                .ReadToday {
                    background-image: url('../images/trend_2_bg1.png'), url('../images/trend_2_bg.png');
                }
            }

            li:nth-child(3) {
                .ReadToday {
                    background-image: url('../images/trend_3_bg1.png'), url('../images/trend_3_bg.png');
                }
            }

            li:nth-child(4) {
                .ReadToday {
                    background-image: url('../images/trend_4_bg1.png'), url('../images/trend_4_bg.png');
                }
            }
        }
    }

    .panel {
        width: 15.0333rem;
        height: 9.5417rem;
        background: rgba(3, 25, 111, 0.29);
        box-shadow: 0px 0px 18px 0px #2953ff inset;
        margin-right: 0.4rem;
        margin-bottom: 0.4rem;
        padding: 0.2rem 0.35rem;

        .titleSetType {
            display: flex;
            align-items: center;
            line-height: 0.46rem;
            color: #fff;

            i {
                display: inline-block;
                width: .4167rem;
                height: .5833rem;
                background: url('../images/title_mark.png');
                background-size: 100% 100%;
            }

            h1 {
                font-size: 0.46rem;
            }
        }
    }

    // 柱状折现图
    .barLine {
        width: 100%;

        .barLineTop {
            position: relative;
            display: flex;


            >span {
                display: flex;
                flex-direction: column;
                margin-top: 1rem;
                margin-left: 0.2rem;

                >span {
                    font-size: 0.2rem;
                }

                >i {
                    width: 0.4rem;
                    height: 0.1rem;
                    border-radius: 0.06rem;
                    margin-top: 0.23rem;
                    background: linear-gradient(116deg, #13FF71 22.52%, #3EB3FF 64.63%, rgba(63, 190, 255, 0.26) 97.8%);
                }
            }
        }

        .LendAmount {
            >ul {
                display: flex;

                li {
                    display: flex;
                    flex-direction: column;
                    margin-left: 0.5rem;

                    .iconImg {
                        width: 0.16rem !important;
                        height: 0.12rem !important;
                        margin-right: 0.08rem;
                    }

                    span:nth-child(1) {
                        span {
                            font-size: 0.2rem;
                        }
                    }

                    span:nth-child(2) {
                        i {
                            font-size: 0.33rem;
                            color: #FF7E41;
                            font-weight: 700;
                        }

                        span {
                            font-size: 0.25rem;
                            color: #FF7E41;
                        }
                    }
                }
            }

            .LendAmountNum {
                position: relative;
                margin-left: 0.55rem;

                >i {
                    display: inline-block;
                    font-size: 0.2rem;
                    width: 0.41rem;
                    height: 0.3rem;
                    text-align: center;
                    background-color: #083366;
                    border-bottom: 1px solid #3999eb;
                    border-top: 1px solid #3999eb;
                }

            }

            .LendAmountNums {
                >i {
                    background-color: #093365;
                    border-bottom: 1px solid #3999eb;
                    border-top: 1px solid #3999eb;
                }
            }

            .textColor {
                .spanColor {
                    i {
                        color: #13d4ff !important;
                    }

                    span {
                        color: #13d4ff !important;
                    }

                }
            }

            .AlsoQuantity {
                display: flex;
                flex-direction: column;
                font-size: 0.2rem;
                position: absolute;
                bottom: 1rem;
                left: 0.5rem;

                >i {
                    width: 0.4rem;
                    height: 0.1rem;
                    border-radius: 0.06rem;
                    margin-top: 0.23rem;
                    background: linear-gradient(90deg, #FCFF73 0%, #FF4E16 31.91%, rgba(255, 137, 29, 0.15) 83.93%);
                }
            }
        }

        .LendAmountLine {
            width: 8rem;
            height: 3.5rem;
        }

        .LendAmountLineBottom {
            width: 8rem;
            height: 3rem;
        }
    }

}

#review_box {
    height: 7rem;
}

#comment1 {
    height: 7rem;
    // background-color: pink;
    overflow: hidden;
    // overflow-x: auto;
    /* 当内容宽度超出时，水平滚动条 */
    // overflow-y: auto;
    /* 当内容高度超出时，垂直滚动条 */

    // 借阅排行右边 
    .LendingRankingRight {
        font-size: 0.3rem;
        margin-left: 0.2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 0.8rem;


        i {
            display: inline-block;
            font-size: 0.2rem;
            margin: 0 0.3rem;
        }
    }
}




.LendingRankingRight:nth-child(even) {
    p {
        width: 8rem;
        background-color: rgba(0, 255, 209, 0.29);

        display: flex;
        align-items: center;
        line-height: 0.5rem;
        font-size: 0.25rem;

        span {
            padding: 0 0.4rem;
            flex: 1;
        }

        span:nth-child(1) {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        span:nth-child(2) {
            background-color: rgba(0, 0, 0, 0.2);

        }
    }
}

.LendingRankingRight:nth-child(odd) {
    p {
        width: 8rem;
        background-color: rgba(14, 144, 229, 0.29);
        display: flex;
        align-items: center;
        line-height: 0.5rem;
        font-size: 0.25rem;

        span {
            padding: 0 0.4rem;
            flex: 1;

        }

        span:nth-child(2) {
            background-color: rgba(0, 0, 0, 0.2);
        }

        span:nth-child(1) {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
}

.BigDataDisplay {
    display: flex;
    flex-direction: column;

    .borrowTimeBook {
        width: 15.0333rem;
        height: 4.3417rem;
        background: url('http://192.168.0.2/static/images/default/item_border.png') no-repeat;
        background-size: 100% 100%;

        .borrowTimeBookTitle {
            display: flex;
            margin-top: 0.10rem;

            span {
                font-size: 0.2rem;
                margin-left: 0.3rem;
                margin-top: 0.1rem;
            }

            img {
                width: 0.65rem;
                height: 0.3rem;
                margin-left: 0.5rem;
            }
        }

        .containerBox {
            .container {
                display: flex;
                margin: 0.5rem;

                li {
                    img {
                        width: 2rem;
                        height: 3rem;
                    }
                }
            }
        }


    }

    // 年度数据统计和本馆风采
    .dataStatisticsTrait {

        // 数据统计顶部实现
        .dataStatisticsTrait {
            display: flex;
            align-items: center;
            margin-left: 0.3rem;

            i {
                display: inline-block;
                width: .4167rem;
                height: .5833rem;
                background: url('../images/title_mark.png');
                background-size: 100% 100%;
            }

            h1 {
                font-size: 0.4rem;
            }
        }

        margin-top: 0.2rem;
        display: flex;

        // 本馆数据统计
        .dataStatistics {
            margin-right: 0.3rem;
            background-color: #fff;
            width: 80%;
            flex: 1;
            background: rgba(3, 25, 111, 0.29);
            box-shadow: 0px 0px 18px 0px #2953ff inset;
        }

        // 本馆风采
        .trait {
            margin-right: 0.6rem;
            background-color: #fff;
            width: 80%;
            height: 3rem;
            flex: 1;
            background: rgba(3, 25, 111, 0.29);
            box-shadow: 0px 0px 18px 0px #2953ff inset;

            img {
                // margin-right: 2rem;
                margin-left: 0.3rem;
                width: 92%;
                height: 2rem;
            }
        }

    }


    .histogramBarGraph {
        display: flex;
        justify-content: center;

        .BarGraphLeft {
            display: flex;

            .BarGraphLeftTop {
                display: flex;
                flex-direction: column;
                align-items: flex-end;

                span {
                    font-size: 0.2rem;
                }

                i {
                    font-size: 0.24rem;
                    color: #259BFF;
                }
            }

            .BarGraphLeftBottom {
                width: 1rem;
                position: relative;
                margin-left: 0.3rem;

                span:nth-child(1) {
                    display: inline-block;
                    width: 0.53rem;
                    height: 0.3rem;
                    position: absolute;
                    left: -0.25rem;
                    top: 0;
                    z-index: 555;
                    background: url('../images/annual_left_line.png');
                    background-size: 100%, 100%;
                }

                span:nth-child(2) {
                    display: inline-block;
                    width: 0.65rem;
                    height: 2rem;
                    position: absolute;
                    left: 0;
                    top: 0;
                    background: url('../images/annual_left_bg.png') no-repeat;
                    background-size: 100%, 100%;

                    span {
                        margin-top: 0.5rem;
                        display: inline-block;
                        width: 0.65rem;
                        height: 1.5rem;
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        background: url('../images/annual_left.png') no-repeat;
                        background-size: 100%, 100%;
                    }
                }
            }
        }

        .BarGraphBottom {
            display: flex;

            .BarGraphLeftTop {
                display: flex;
                flex-direction: column;
                align-items: flex-end;

                span {
                    font-size: 0.2rem;
                }

                i {
                    font-size: 0.24rem;
                    color: #259BFF;
                }
            }

            .BarGraphLeftBottom {
                width: 1rem;
                position: relative;
                margin-left: 0.3rem;

                span:nth-child(1) {
                    display: inline-block;
                    width: 0.53rem;
                    height: 0.3rem;
                    position: absolute;
                    left: 0.25rem;
                    top: 0;
                    z-index: 555;
                    background: url('../images/annual_right_line.png');
                    background-size: 100%, 100%;
                }

                span:nth-child(2) {
                    display: inline-block;
                    width: 0.65rem;
                    height: 2rem;
                    position: absolute;
                    left: 0;
                    top: 0;
                    background: url('../images/annual_right_bg.png') no-repeat;
                    background-size: 100%, 100%;

                    span {
                        margin-top: 0.8rem;
                        display: inline-block;
                        width: 0.65rem;
                        height: 1.5rem;
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        background: url('../images/annual_right.png') no-repeat;
                        background-size: 100%, 100%;
                    }
                }
            }
        }

    }

    .bottomLine {
        display: inline-block;
        width: 5rem;
        height: 0.58rem;
        margin-left: 1rem;
        background: url('../images/annual_bg.png') no-repeat center;
        background-size: 50% 100%;
    }

}

.panelHot {
    height: 7.5417rem !important;
}

.HotRecommendationDetails {
    display: flex;
    flex-wrap: wrap;

    .HotRecommendationDetailsItem {
        width: 12%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0.2rem 0;

        i {
            width: 0.8rem;
            height: 0.3rem;
            line-height: 0.3rem;
            text-align: center;
            background-color: rgba(255, 128, 69, 0.22);
            font-size: 0.2rem;
            color: #259BFF;
            border-radius: 0.12rem;
        }

        h4 {
            font-size: 0.28rem;
            font-weight: 400;
        }

        span {
            font-size: 0.15rem;
        }

        img {
            width: 1.5rem;
            height: 1.6rem;
        }
    }
}

.rightTop {
    display: flex;

    .collectionRatio {
        width: 7.3rem;
        height: 9.5417rem;
        background: rgba(3, 25, 111, 0.29);
        box-shadow: 0px 0px 18px 0px #2953ff inset;
        margin-right: 0.4rem;
        margin-bottom: 0.4rem;
        padding: 0.2rem 0.35rem;
    }

    .circulationRatio {
        width: 7.3rem;
        height: 9.5417rem;
        background: rgba(3, 25, 111, 0.29);
        box-shadow: 0px 0px 18px 0px #2953ff inset;
        margin-right: 0.4rem;
        margin-bottom: 0.4rem;
        padding: 0.2rem 0.35rem;
    }

    .titleSetType {
        display: flex;
        align-items: center;
        line-height: 0.46rem;
        color: #fff;

        i {
            display: inline-block;
            width: .4167rem;
            height: .5833rem;
            background: url('../images/title_mark.png');
            background-size: 100% 100%;
        }

        h1 {
            font-size: 0.46rem;
        }
    }

    .circulationRatioPie {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 90%;
    }

    .specificProportion {
        display: flex;
        align-items: center;
        margin-top: 0.5rem;

        li {
            display: flex;
            width: 3rem;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;

            i {
                display: inline-block;
                width: .4rem;
                height: 0.2rem;
                background-color: #2A26FF;
                margin-right: 0.2rem;
            }

            >span {
                font-size: 0.3rem;
                color: #fff;
            }
        }

        li:nth-child(2) {
            span:nth-child(1) {
                i {
                    background-color: #FF8045;
                }
            }
        }

        li:nth-child(3) {
            span:nth-child(1) {
                i {
                    background-color: #D049F2;
                }
            }
        }

        li:nth-child(4) {
            span:nth-child(1) {
                i {
                    background-color: #56FF2C;
                }
            }
        }

        li:nth-child(5) {
            span:nth-child(1) {
                i {
                    background-color: #DFE781;
                }
            }
        }

        .collectionPie {
            position: relative;
            margin-left: 0.5rem;
            position: relative;
            width: 3rem;
            height: 3rem;
            border-radius: 50%;

            background-color: rgba(2, 41, 106, 0.29);
            border: 1px solid #0e72a0;

            span {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 1rem;
                height: 1rem;
                border: 0.05rem solid #318edf;
                border-radius: 50%;
                position: absolute;
                font-size: 0.15rem;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .collectionPies {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 2.5rem;
                height: 2.5rem;
                z-index: 9999;
            }
        }
    }

}